package com.demo.mapper;

import com.demo.pojo.loginUser;
import com.demo.pojo.loginUserExample;
import java.util.List;

import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

public interface loginUserMapper {
    long countByExample(loginUserExample example);

    int deleteByExample(loginUserExample example);

    int deleteByPrimaryKey(Integer id);

    int insert(loginUser record);

    int insertSelective(loginUser record);

    List<loginUser> selectByExample(loginUserExample example);

    loginUser selectByPrimaryKey(Integer id);

    int updateByExampleSelective(@Param("record") loginUser record, @Param("example") loginUserExample example);

    int updateByExample(@Param("record") loginUser record, @Param("example") loginUserExample example);

    int updateByPrimaryKeySelective(loginUser record);

    int updateByPrimaryKey(loginUser record);

    loginUser selectByloginUser(@Param("username") String username,@Param("password") String password);
}